package com.wang.tool.delivery;

import com.wang.tool.delivery.cache.module.ModuleCacheDTO;
import com.wang.tool.delivery.cache.page.PageCacheDTO;
import com.wang.tool.delivery.cache.plan.PlanCacheDTO;
import com.wang.tool.delivery.cache.route.RouteScopeCacheDTO;
import com.wang.tool.delivery.cache.scene.SceneCacheDTO;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * @Description
 * @Author shaopeng
 * @Date 2022/7/31
 * @Version 1.0
 */
public interface DeliveryQueryService {

    SceneCacheDTO getSceneFromCache(String sceneCode);

    RouteScopeCacheDTO getRouteFromCache(String routeId);

    PageCacheDTO getPageFromCache(String pageId);

    List<ModuleCacheDTO> getModuleFromCache(List<String> moduleIds);


    Map<String,List<PlanCacheDTO>> getResourcePlanFromCache(Collection<String> resourceIds);


    List<PlanCacheDTO> getPlanFromCache(Collection<String> planIds);



}
